<title>返回</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no"> 
<script type="text/javascript" src="#(assets)/js/jquery-2.2.4.min.js"></script>
<style> 
	li{list-style-type:none;}
</style>
<body bgcolor="#fff" style="margin:0px;">
<!--菜单栏--> 
	<div align="center" style="margin-top:20px;" >
		<img id="reg_trueimg" style="width:20px;margin-top:10px;vertical-align:bottom;" src="#(assets)/images/mobile/ture_img.png"><span style="margin-left:10px;color:#fd536c">操作成功！</span>
		<div id="iosbtn" class="androidbtn  return_sub"  onclick="javascript:android.user()"   align="center" style="border:1px solid #fd536c;height:40px;width:90%;border-radius:5px;color:#fd536c;line-height:40px;margin-top:30px;">返回</div>
	</div>  
<script> 
	
	
  function setupWebViewJavascriptBridge(callback) {
		if (window.WebViewJavascriptBridge) { return callback(WebViewJavascriptBridge); }
		if (window.WVJBCallbacks) { return window.WVJBCallbacks.push(callback); }
		window.WVJBCallbacks = [callback];
		var WVJBIframe = document.createElement('iframe');
		WVJBIframe.style.display = 'none';
		WVJBIframe.src = 'wvjbscheme://__BRIDGE_LOADED__';
		document.documentElement.appendChild(WVJBIframe);
		setTimeout(function() { document.documentElement.removeChild(WVJBIframe) }, 0)
	  }
	
	  /*与OC交互的所有JS方法都要放在此处注册，才能调用通过JS调用OC或者让OC调用这里的JS*/
	  setupWebViewJavascriptBridge(function(bridge) {
		 iosbtn.onclick = function()
			 {  
				var str1="doginmoney";
				//JS给OC传值。'passValue'为双方自定义的统一方法名；'str1'&'str2'为要传的值； response为OC收到后给JS的回调
				bridge.callHandler('AboutUS_IOS', {str1}, function(response) {
				})
			 }    
	  })
	 
	var url = "#(path)/user/info?token=#(session.token??)";
	$.getJSON(url, function(datainfo){
		console.log(datainfo);
		if(datainfo.data.info.login_type=="wx"){
			$("#return_sub").click(function(){
				window.location.href="#(path)/app/page/personal-balance";
			});
		}
	}); 
</script>


</body>
